Timing Attacks due to Branch Predictions: A Presentation Tutorial
نویسنده
چکیده
In this project, I aim to give a presentation based on Chapter 9 of the book TimingChannels in Cryptography [1]. In this presentation, I will cover the author’s understand-ing and viewpoint on Timing attacks based on Branch Predictions. This will mostly dealwith trying to crack RSA exponentiation, and will cover explaining various algorithmswhere branching plays a large role like Square and Multiply, Montgomery PoweringLadder and Montgomery Multiplication. The core idea that is leveraged in trying todesign these attacks deals with branch mispredictions, and how they cost CPU time, aspipelined processors need to flush previously fetched instructions if a branch mispredic-tion occurs. This time differential is exploited by attackers in order to learn valuableinformation about the secret exponent d.The tutorial will cover general timing attacks as well as both asynchronous and syn-chronous attacks on the Square and Multiply algorithm based on Montgomery multi-plication. We will also explore trace driven attacks targeting the Branch Target Buffer(BTB) and how they actually work.Additionally, we will also look at some obvious ways of mitigating timing attacks ingeneral, focusing on constant and random time implementations that cannot exploit thetiming variations caused by branch predictions. References[1] C. Rebeiro, D. Mukhopadhyay, and S. Bhattacharya, Timing Channels in Cryptog-raphy. Springer, 2015.
منابع مشابه
Improving Tor security against timing and traffic analysis attacks with fair randomization
The Tor network is probably one of the most popular online anonymity systems in the world. It has been built based on the volunteer relays from all around the world. It has a strong scientific basis which is structured very well to work in low latency mode that makes it suitable for tasks such as web browsing. Despite the advantages, the low latency also makes Tor insecure against timing and tr...
متن کاملDevelopment and Usability Evaluation of an Online Tutorial for “How to Write a Proposal” for Medical Sciences Students
Background and Objective: Considering the importance of learning how to write a proposal for students, this study was performed to develop an online tutorial for “How to write a Proposal” for students and to evaluate its usability. Methods: This study is a developmental research and tool design. “Gamified Online Tutorial based on Self-Determination Theory (GOT-STD) Framework" became the basis f...
متن کاملCiliary Body Tuberculosis Presenting with Attacks of Acute Intraocular Pressure Rise
Purpose: To report a rare presentation of ophthalmic tuberculosis. Case Report: A 19-year-old man was referred to the glaucoma clinic due to multiple attacks of increased intraocular pressure (IOP) in his right eye. IOP of the right eye was 50 mmHg, and glaucomatous damage of the optic nerve was present. In gonioscopy, an oval-black lesion was present in the ciliary body band on the temporal si...
متن کاملMedical nanobiosensors: A tutorial review
A sensitive monitoring of biological analytes, such as biomolecules (protein, lipid, DNA and RNA), and biological cells (blood cell, virus and bacteria), is essential to assess and avoid risks for human health. Nanobiosensors, analytical devices that combine a biologically sensitive element with a nanostructured transducer, are being widely used for molecular detection of biomarkers associated ...
متن کاملA Tutorial on Physical Security and Side-Channel Attacks
A recent branch of cryptography focuses on the physical constraints that a real-life cryptographic device must face, and attempts to exploit these constraints (running time, power consumption, . . . ) to expose the device’s secrets. This gave birth to implementation-specific attacks, which often turned out to be much more efficient than the best known cryptanalytic attacks against the underlyin...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015